package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdUserDTO;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiOperation;

/**
 * @author zx
 * @date 2021/11/18 10:17
 */
public interface AdUserService extends IService<AdUser> {

    /**
     * 登录
     * @param dto
     * @return
     */
    @ApiOperation("登录")
    ResponseResult login(AdUserDTO dto);
}
